package cn.itsource.pethome_0310.org.service;

import cn.itsource.pethome_0310.basic.domain.BaseQuery;
import cn.itsource.pethome_0310.basic.domain.JSONResult;
import cn.itsource.pethome_0310.org.domain.Department;

import java.util.List;

public interface DeptService {
    List<Department> findAll();

    JSONResult findPage(BaseQuery baseQuery);

    JSONResult findTree();

    JSONResult add(Department department);

    JSONResult delete(Long id);

    JSONResult batchDelete(List<Long> ids);
}
